package com.xuanwei.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2019-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XwWeixinPayConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商户ID
     */
    @TableField("mch_id")
    private String mchId;

    /**
     * 小程序秘钥
     */
    @TableField("secret")
    private String secret;

    /**
     * api秘钥
     */
    @TableField("api_key")
    private String apiKey;

    /**
     * 小程序ID
     */
    @TableField("app_id")
    private String appId;

    /**
     * 证书
     */
    @TableField("apiclient_cert_p12")
    private byte[] apiclientCertP12;

    /**
     * 通知地址
     */
    @TableField("notify_url")
    private String notifyUrl;


}
